#ifndef PJAPIUAACCOUNT_H
#define PJAPIUAACCOUNT_H

#include <string>

class PjApiUaAccount
{
public:

    PjApiUaAccount(std::string username,
                    std::string password,
                    std::string domain,
                    std::string registar="",
                    std::string proxy="");

    virtual ~PjApiUaAccount(){}

    int getAccountID() const
    {
        return m_id;
    }

    std::string getUsername() const
    {
        return m_username;
    }

    std::string getPassword() const
    {
        return m_password;
    }

    std::string getDisplay() const
    {
        return m_display;
    }

    std::string getDomain() const
    {
        return m_domain;
    }

    std::string getRegistar()const
    {
        return m_registar;
    }

    std::string getProxy() const
    {
        return m_proxy;
    }

    void setDisplayName(std::string name)
    {
        m_display = name;
    }

    void setDomain(std::string domain)
    {
        m_domain = domain;
    }

    void setPassword(std::string pwd)
    {
        m_password = pwd;
    }

    void setUsername(std::string name)
    {
        m_username = name;
    }

    void setRegistar(std::string server)
    {
        m_registar = server;
    }

    void setProxy(std::string server)
    {
        m_proxy = server;
    }

    void setAccountID(int id)
    {
        m_id = id;
    }


protected:

    //virtual void copy(PjApiUaAccount &account){}

    int m_id;

    std::string m_username;

    std::string m_password;

    std::string m_domain;

    std::string m_registar;

    std::string m_proxy;

    std::string m_display;

};

#endif //PJAPIUAACCOUNT_H